#ifndef COMMAND_TYPES_H
#define COMMAND_TYPES_H

/* S - set param through arg pointer
 * G - get param through arg pointer
 * Q - get param through return value
 * T - set param through arg value */

#define DEVICE_COMMAND 'K'

#define IOC_RESSET _IO(DEVICE_COMMAND, 0)

#define IOC_S_QUANTUM _IOW(DEVICE_COMMAND, 1, int)
#define IOC_S_QSET _IOW(DEVICE_COMMAND, 2, int)
#define IOC_G_QUANTUM _IOR(DEVICE_COMMAND, 3, int)
#define IOC_G_QSET _IOR(DEVICE_COMMAND, 4, int)
#define IOC_T_QUANTUM _IOW(DEVICE_COMMAND, 5, int)
#define IOC_T_QSET _IOW(DEVICE_COMMAND, 6, int)
#define IOC_Q_QUANTUM _IO(DEVICE_COMMAND, 7)
#define IOC_Q_QSET _IO(DEVICE_COMMAND, 8)

#define IOC_MAX_NUM 8

#endif // COMMAND_TYPES_H
